﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DecoratorPattern;

public abstract class AbstructStudent
{
    public int Id { get; set; }
    public string? Name { get; set; }
    public abstract void Study();
    public virtual void Show()
    {
        Console.WriteLine($"Id: {Id}, Name: {Name}");
    }
}
